/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2009-10-2   22:29
* filename: LaborConstantBuffer.h
-----------------------------------------------------------------------------
*/
#ifndef __LABORCONSTANTBUFFER_H__
#define __LABORCONSTANTBUFFER_H__

#include "../LaborCoreDef.h"
#include "LaborHardwareBuffer.h"
NAMESPACE_LABOR3D_BEGIN

class LABORCORE_API CLConstantBuffer : public CLHardwareBuffer
{	
protected:
	size_t m_nBufferSize;
public:
	CLConstantBuffer(size_t m_nBufferSize);
	virtual ~CLConstantBuffer();

	size_t getBufferSize(void) const { return m_nBufferSize; }

};

NAMESPACE_LABOR3D_END
#endif